package com.lion.ball.modules.orderfood.web.controller;

import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
import org.springframework.beans.factory.annotation.Autowired;
import com.lion.common.spring.business.base.BaseCrudController;
import com.lion.ball.modules.orderfood.domain.entity.OfdFoodDataEntity;
import com.lion.ball.modules.orderfood.web.model.params.create.OfdFoodDataCreateParam;
import com.lion.ball.modules.orderfood.web.model.params.update.OfdFoodDataUpdateParam;
import com.lion.ball.modules.orderfood.web.model.params.search.OfdFoodDataSearchParam;
import com.lion.ball.modules.orderfood.web.model.params.order.OfdFoodDataOrderParam;
import com.lion.ball.modules.orderfood.web.model.results.OfdFoodDataResult;
import com.lion.ball.modules.orderfood.dao.repository.OfdFoodDataRepository;
import com.lion.ball.modules.orderfood.service.assistants.converters.OfdFoodDataConverter;
import com.lion.ball.modules.orderfood.service.def.OfdFoodDataService;
import com.lion.ball.modules.orderfood.web.api.OfdFoodDataApi;

/**
 * @author Chris Chan
 * Create on 2025-10-18 13:33
 * Use for: 食品动态数据 接口实现
 * Explain:
 * 
 */
@RestController
@RequestMapping("ofd/food/data")
public class OfdFoodDataController implements OfdFoodDataApi, BaseCrudController<
        OfdFoodDataEntity,
        OfdFoodDataCreateParam,
        OfdFoodDataUpdateParam,
        OfdFoodDataSearchParam,
        OfdFoodDataOrderParam,
        OfdFoodDataResult,
        OfdFoodDataRepository,
        OfdFoodDataConverter,
        OfdFoodDataService
        > {

    @Autowired
    OfdFoodDataService ofdFoodDataService;

    @Override
    public OfdFoodDataService getService() {
        return ofdFoodDataService;
    }
}